package com.delivery;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableCaching
@SpringBootApplication
@EnableTransactionManagement //开启注解方式的事务管理
@Slf4j
@MapperScan("com.delivery.mapper")
public class SkyDeliveryApplication {
    public static void main(String[] args) {
        org.springframework.boot.SpringApplication.run(SkyDeliveryApplication.class, args);
        log.info("项目启动成功");
    }
}
